using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TalentFly : TalentBasic
{
    public override void OnClick()
    {
        if (PlayerData.coninsfortalent > 0)
        {
            PlayerData.jumpnum = 0;
            PlayerData.fly = true;
            base.OnClick();
        }
        
    }
}
